package com.example.javabeantest.javaBeanSamples;

public class Person {
    private String name = "SimpleLee";
    private String sex = "女";
    private int age = 30;
    private boolean married = true;
    public Person(){
    }
    public String getName(){return name;}
    public void  setName(String name){this.name = name;}
    public String getSex(String sex){return sex;}
    public void setSex(String sex){this.sex = sex;}
    public int getAge(int age){return age;}
    public void setSex(int age){this.age = age;}
    public boolean getMaried{return married;}
    public void  setMarried(boolean married){
        this.married = married;
    }
}
